import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/components/Login'
import Search from '@/components/Search'
import Search_user from '@/components/Search_user'
import A_start from '@/components/A_start'
import Person from '@/components/Person'
import Try from '@/components/Try'
import hist from '@/components/hist'
Vue.use(Router)

export default new Router({
  mode:'history',
  routes: [
    {
      path: '/',
      name: 'A_start',
      component: A_start
    },
    {
      path: '/Login',
      name: 'Login',
      component: Login
    },

    {
      path: '/Search',
      name: 'Search',
      component: Search
    },
    {
      path: '/Search_user',
      name: 'Search_user',
      component: Search_user
    },
    {
      path: '/P',
      name: 'Person',
      component: Person
    },

    {
      path: '/T',
      name: 'Try',
      component: Try
    },
    {
      path: '/hist',
      name: 'hist',
      component: hist
    },


  ]
})
